<template>
  <ul>
    <li v-for="item in arr" :key="item.id">{{ item.content }}</li>
  </ul>
</template>

<script>
import { mapState } from "vuex";
import { mapActions } from "vuex";

export default {
  computed: {
    ...mapState(["arr"]),
  },
  methods: {
    ...mapActions(["GET_COMMIT"]),
  },
  mounted() {
    this.GET_COMMIT();
  },
};
</script>
